-
Home
-
Mercado Pago payments for WooCommerce
-
8.1.0 (latest)
-
Code
-
Classes
- CreditsGateway
Total Complexity |
28 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
434 |
Lines of code |
288 |
Logical lines of code |
71 |
Comment lines |
62 |
Methods |
17 |
Properties |
0 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
init_form_fields() |
A |
34 |
2 |
109 |
renderCreditsBanner() |
S |
48 |
4 |
33 |
process_payment() |
S |
51 |
4 |
26 |
getCreditsInfoTemplate() |
S |
50 |
1 |
31 |
isAvailable() |
S |
64 |
3 |
10 |
__construct() |
S |
53 |
1 |
23 |
getCreditsPreviewImage() |
S |
73 |
2 |
4 |
setDefaultTooltip() |
S |
73 |
2 |
5 |
validate_fields() |
S |
82 |
1 |
3 |
getPaymentFieldsParams() |
S |
65 |
1 |
9 |
payment_fields() |
S |
73 |
1 |
6 |
payment_scripts() |
S |
80 |
1 |
3 |
getCreditsGifDesktopPath() |
S |
71 |
1 |
6 |
getCreditsGifMobilePath() |
S |
71 |
1 |
6 |
generate_mp_credits_checkout_example_html() |
S |
68 |
1 |
7 |
activeByDefault() |
S |
75 |
1 |
4 |
getSiteId() |
S |
80 |
1 |
3 |